package com.ruoyi.common.constant;

public class SqlOrder {
    public static final String WEIGHT_DESC="host_sort_weight desc";

    public static final String WEIGHT_ASC="host_sort_weight asc";


    public static String getSqlOrder(int order){
        if(order==-1){
            return "";
        }else if(order==3){
            return WEIGHT_DESC;
        }else if(order==4){
            return WEIGHT_ASC;
        }else{
            return "";
        }
    }
}
